<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<form action="${ctx}/check/submit.do" method="post">
<fieldset><legend>胰岛功能检测</legend>
<table class="list">
	<caption>糖尿病类型：<span style="overflow: hidden"><select
		name="diabetesType">
		<c:import url="../include/option_diabetes.jsp" />
	</select></span></caption>
	<thead>
		<tr>
			<th>实验项目</th>
			<th>空&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;腹</th>
			<th>餐后1小时</th>
			<th>餐后2小时</th>
			<th>餐后3小时</th>
			<th>单位</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td class="head">血糖</td>
			<td><input name="emptyBloodSugar" type="text" class="short"
				value="${patient.check.bloodSugar.emptyBloodSugar}" /></td>
			<td><input name="oneHourBloodSugar" type="text" class="short"
				value="${patient.check.bloodSugar.oneHourBloodSugar}" /></td>
			<td><input name="twoHourBloodSugar" type="text" class="short"
				value="${patient.check.bloodSugar.twoHourBloodSugar}" /></td>
			<td><input name="threeHourBloodSugar" type="text" class="short"
				value="${patient.check.bloodSugar.threeHourBloodSugar}" /></td>
			<td>mmol/L</td>
		</tr>
		<tr>
			<td class="head">胰岛素分泌</td>
			<td><input name="emptyInsulin" type="text" class="short"
				value="${patient.check.insulin.emptyInsulin}" /></td>
			<td><input name="oneHourInsulin" type="text" class="short"
				value="${patient.check.insulin.oneHourInsulin}" /></td>
			<td><input name="twoHourInsulin" type="text" class="short"
				value="${patient.check.insulin.twoHourInsulin}" /></td>
			<td><input name="threeHourInsulin" type="text" class="short"
				value="${patient.check.insulin.threeHourInsulin}" /></td>
			<td>μIμ/mL</td>
		</tr>
		<tr>
			<td class="head">C-P 分泌</td>
			<td><input name="emptyCP" type="text" class="short"
				value="${patient.check.cp.emptyCP}" /></td>
			<td><input name="oneHourCP" type="text" class="short"
				value="${patient.check.cp.oneHourCP}" /></td>
			<td><input name="twoHourCP" type="text" class="short"
				value="${patient.check.cp.twoHourCP}" /></td>
			<td><input name="threeHourCP" type="text" class="short"
				value="${patient.check.cp.threeHourCP}" /></td>
			<td>mg/mL</td>
		</tr>
	</tbody>
</table>

</fieldset>
<div style=""><input type="submit" value="确&nbsp;&nbsp;&nbsp;定"
	class="submit" />&nbsp;&nbsp;<input type="reset"
	value="重&nbsp;&nbsp;&nbsp;置" class="reset"></div>
</form>

<script type="text/javascript">
	$(document).ready(
			function() {
				$('select[name=diabetesType]').val(
						[ '${patient.check.diabetesType}' ]);
			});
</script>
